import React from 'react';
import ReactDOM from 'react-dom';

import axios from 'axios'

import App from './App';

// 默认配置
axios.defaults.baseURL = 'http://rap2api.taobao.org/app/mock/273029/'
axios.defaults.timeout = 5000
axios.defaults.headers.common['token'] = 'test Token'
// axios.defaults.headers.post['Content-type'] = 'application/text'

ReactDOM.render(
  <React.StrictMode>
    <App />
  </React.StrictMode>,
  document.getElementById('root')
);
